0 0
1 0 1
1 2
1 0 1
2 3
1 0 1
3 1
1 0 1
4 2
1 0 1
5 3
1 0 1
6 0
1 1 10
7 1
1 1 10
8 2
1 1 10
9 0
1 1 10
10 1
1 1 10
11 2
1 1 10
12 3
1 1 10